from django.urls import path
from . import views

urlpatterns = [
    path("", views.login, name='login'),
    path("sms_send/", views.sms_send, name='sms_send'),
    path("sms_check/", views.sms_check, name='sms_check'),
    path("login_check/", views.login_check, name='login_check'),
    path("index/", views.index, name='index'),
    path("main/", views.main, name='main'),
    path("postList/", views.postList, name='postList'),
    path("postListApi/", views.postListApi, name='postListApi'),
    path("postAdd/", views.postAdd, name='postAdd'),
    path("postAddApi/", views.postAddApi, name='postAddApi'),
    path("changePostAuthApi/", views.changePostAuthApi, name='changePostAuthApi'),
    path("changePostDelApi/", views.changePostDelApi, name='changePostDelApi'),
    path("authorList/", views.authorList, name='authorList'),
    path("authorSave/", views.authorSave, name='authorSave'),
    path("userList/", views.userList, name='userList'),
    path("userListApi/", views.userListApi, name='userListApi'),
    path("uploadFile/", views.uploadFile, name='uploadFile'),
    path("exportToExcel/", views.exportToExcel, name='exportToExcel'),
    path("userAdd/", views.userAdd, name='userAdd'),
    path("userAddApi/", views.userAddApi, name='userAddApi'),
    path("floorManage/", views.floorManage, name='floorManage'),
    path("floorListApi/", views.floorListApi, name='floorListApi'),
    path("dormSpecs/", views.dormSpecs, name='dormSpecs'),
    path("dormSpecsApi/", views.dormSpecsApi, name='dormSpecsApi'),
    path("dormManage/", views.dormManage, name='dormManage'),
    path("dormManageApi/", views.dormManageApi, name='dormManageApi'),
    path("studentManage/", views.studentManage, name='studentManage'),
    path("studentManageApi/", views.studentManageApi, name='studentManageApi'),
    path("locationManage/", views.locationManage, name='locationManage'),
    path("locationApi/", views.locationApi, name='locationApi'),
    path("majorManage/", views.majorManage, name='majorManage'),
    path("majorSlave/", views.majorSlave, name='majorSlave'),
    path("majorSlaveApi/", views.majorSlaveApi, name='majorSlaveApi'),
    path("yearManage/", views.yearManage, name='yearManage'),
    path("yearManageApi/", views.yearManageApi, name='yearManageApi'),
    path("majorTree/", views.majorTree, name='majorTree'),
    path("majorTreeApi/", views.majorTreeApi, name='majorTreeApi'),
]